#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>

int main(){

    printf("\ni am process! ppid : %d \n",getpid());

    pid_t ret = fork();

    printf("\nret : %d, pid : %d, ppid : %d\n", ret, getpid(), getppid());
#if 0
    printf("i am process! ppid : %d \n",getpid());

    pid_t ppid = fork();
    
    printf("i am child process!\n");
#endif
    return 0;
}
